package pojo

type GuidType int

const (
	GuidTypePlayer    GuidType = 1
	GuidTypeTeam      GuidType = 2
	GuidTypeMail      GuidType = 3
	GuidTypeGang      GuidType = 4
	GuidTypeAccount   GuidType = 5
	GuidTypeiden      GuidType = 6
	GuidTypeRabao     GuidType = 7
	GuidTypeoul       GuidType = 8
	GuidTypeAuction   GuidType = 9
	GuidTreasure      GuidType = 10
	GuidTypeBet       GuidType = 11
	GuidTypeRedPacket GuidType = 12
)

type GuidData struct {
	BaseData `xorm:"-"`
	Id       int `xorm:"pk autoincr 'id' notnull"`
	Perch    int `xorm:"'perch' default('0') notnull"`
	Low      int `xorm:"'low' default('0') notnull"`
	Des      string `xorm:"'des' default('') notnull"`
}

func (g *GuidData) TableName() string {
	return "guiddata"
}